class Student():
    def __init__(self,stu_name,stu_id):
        self.name=stu_name
        self.id=stu_id
        self.grade={"语文":0,"数学":0,"英语":0}

    def set_grade(self,course,garde):

        if course in ["语文","数学","英语"]:
            self.grade[course]=garde


student1 = Student("小花","01")
student2 = Student("小陈","02")
student3 = Student("小王","03")

student3.set_grade("语文","98")
print(f"{student3.id}{student3.name}{student3.grade}")





